package com.xwj.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 相册实体
 */

public class HouseInfoPhotosEntity implements Serializable {
    private static final long serialVersionUID = -6739149120347347161L;

    private String title; //相册标题

    private int id; //相册id

    private int start; //初始显示的图片序号

    private List<PhotoDetail> data; //相册包含的图片

    public HouseInfoPhotosEntity() {
    }

    public HouseInfoPhotosEntity(String title, int id, int start, List<PhotoDetail> data) {
        this.title = title;
        this.id = id;
        this.start = start;
        this.data = data;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public List<PhotoDetail> getData() {
        return data;
    }

    public void setData(List<PhotoDetail> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "HouseInfoPhotosEntity{" +
                "title='" + title + '\'' +
                ", id=" + id +
                ", start=" + start +
                ", data=" + data +
                '}';
    }
}
